package edu.whu.springdatademo.service;

import edu.whu.springdatademo.entity.Supplier;
import edu.whu.springdatademo.exception.ProductException;

import java.util.List;

public interface SupplierService {

    Supplier save(Supplier supplier);

    void deleteById(int id) throws ProductException;

    Supplier selectById(Integer id);

}
